﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace SubWayElevatorPower.Models
{
    public class ElevatorDetail
    {
        public string elevatorname { get; set; }//电梯名称
        public int deviceid { get; set; }//温度表编号
        public string updateTime { get; set; }//更新时间
        public int type { get; set; }//0=未连接1=连接2=告警
        public float temperature { get; set; }//温度值
        public float temperaturethreshold { get; set; }//温度阈值
        public float alarm_temperature { get; set; }//报警温度值
        public string alarmTime { get; set; }//温度报警时间
        public int alarm_flag { get; set; }//报警标记
        public string cmd { get; set; }
        public int receiveout { get; set; }
    }

    public class ConfigInfo
    {
        public string elevatorname { get; set; }
        public string deviceid { get; set; }
        public string temperaturethreshold { get; set; }
    }
}
